FROM openjdk:8u151

RUN echo "Asia/shanghai" > /etc/timezone \
    && cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

ADD target/erp-gw-ehr.jar /erp-gw-ehr.jar

ENTRYPOINT ["java", "-jar", "/erp-gw-ehr.jar", "-Djava.security.egd=file:/dev/./urandom"]